package com.example.weight.wormHandle.garbageDisposal.researchDevelopment;

public class BatchGroupNumber {
    public int id;
    public String batch;
    public String group;
    public String number;
    public String smallNumber;
    public String eggWeight;
    public String date;
    private String device;

    public String toString() {
//        if (smallNumber.equals(""))
            return batch + "-" + group + "-" + number;
//        else
//            return batch + "-" + group + "-" + number + "-" + smallNumber;
    }

    public BatchGroupNumber(int id, String batch, String group, String number, String smallNumber, String date) {
        this.id = id;
        this.batch = batch;
        this.group = group;
        this.number = number;
        this.smallNumber = smallNumber;
        this.date = date;
    }

    public BatchGroupNumber(int id, String batch, String group, String number, String device) {
        this.id = id;
        this.batch = batch;
        this.group = group;
        this.number = number;
        this.device = device;
    }

    public BatchGroupNumber(int id, String batch, String group, String number, String smallNumber, String eggWeight, String date) {
        this.id = id;
        this.batch = batch;
        this.group = group;
        this.number = number;
        this.smallNumber = smallNumber;
        this.eggWeight = eggWeight;
        this.date = date;
    }

    public String getEggWeight() {
        return eggWeight;
    }

    public void setEggWeight(String eggWeight) {
        this.eggWeight = eggWeight;
    }

    public BatchGroupNumber() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getBatch() {
        return batch;
    }

    public void setBatch(String batch) {
        this.batch = batch;
    }

    public String getGroup() {
        return group;
    }

    public void setGroup(String group) {
        this.group = group;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getSmallNumber() {
        return smallNumber;
    }

    public void setSmallNumber(String smallNumber) {
        this.smallNumber = smallNumber;
    }


    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getDevice() {
        return device;
    }

    public void setDevice(String device) {
        this.device = device;
    }
}
